package com.cupk.service;

import com.cupk.pojo.Match;
import com.cupk.pojo.Result;

import java.time.LocalDateTime;
import java.util.List;

public interface MatchService {
    List<Match> getMyList(Integer userId,String name);

    List<Match> getAllList(String name);

    void addMatch(Match match);

    List<Match> findSimilar(String name, Integer session);

    Match getMatchById(Integer id);

    void updateMatch(Match match);

    List<Match> getAvailableList(LocalDateTime nowTime);

    Integer judgeBlackList(Integer userId);

    void deleteMatch(Integer matchId);

    Match addStatus(Match m);
}
